<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:composite="http://java.sun.com/jsf/composite">
    
    <composite:interface>        	
    </composite:interface>
	
	<composite:implementation>	
		<h:form id="loginForm">
			<table align="center" cellpadding="2" cellspacing="1" border="0" bgcolor="#CCCCC0">
				  <tr>
				    <th colspan="2" align="center" class="titulocolumna"><h:outputText value="Control de Acceso" style="color: #000000;" /> </th>
				  </tr>
				  <tr>
				    <td class="etiqueta">Usuario : </td>
				    <td class="etiqueta_campo"> <h:inputText value="#{loginBean.username}" styleClass="campo_texto"/> </td>
				  </tr>
				  <tr>
				    <td class="etiqueta">Password : </td>
				    <td class="etiqueta_campo"> <h:inputSecret value="#{loginBean.password}" styleClass="campo_texto"/></td>
				  </tr>				
				  <tr>
				    <td colspan="2" align="center" class="columnadatoPar">
				    	<h:commandButton value="Aceptar" action="#{loginBean.loginAction}" styleClass="boton" /> &nbsp; <h:commandButton value="Limpiar" styleClass="boton" type="reset" />
				    </td>
				  </tr>
				</table>
				<br />
		</h:form>					
	</composite:implementation>
	
</html>